<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{$Config.sitename}</title>
    <meta content="{$Config.sitekeywords}" name="keywords">
    <meta content="{$Config.siteinfo}" name="description">
    <meta property="qc:admins" content="23756114776076725116375" />
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="__CSS__/global.css" />
    <link rel="stylesheet" href="__CSS__/index.css" />
    <Admintemplate file="Home/Public/global_js"/>
    <script src="__JS__/jquery.min.js"></script>
	<script src="__JS__/jquery.lazyload.min.js"></script>
	<script type="text/javascript">
		$(function(){
			$('img.lazy').lazyload();
		});
	</script>
</head>

<body>

<div class="b-page">
<div class="b-slideBar" style="top:125px;">
    <div class="b-slideBar__top"><img class="pic_mid" src="__IMAGES__/icon_slide_bar_menu.png"><span>圈子分类</span></div>
    <foreach name="cate" item="vcate">
        <div class="b-slideBar__fenlei">
            <div class="b-slideBar__title">
                <span>{$vcate.catename}</span><i class="arrow"></i>
            </div>
            <div class="b-slideBar__list">
                <foreach name="vcate.childcate" item="vvcate">
                    <a href="__WEBURL__/category/{$vvcate.cateid}" class="b-slideBar__item"><img class="pic_mid" src="__FILESURL__{$vvcate.image}" width="40" height="25"><span>{$vvcate.catename}</span></a>
                </foreach>
            </div>
        </div>
    </foreach>


</div>

<include file="Public:header" />


<div class="b-banner">
    <div class="b-banner__body l-center">
        <div class="b-banner__main l-center">
            <foreach name="indexmidad" item="imad">
                <a href="{$imad.linkurl}" class="b-banner__item"><img src="__FILESURL__{$imad.image}" class="l-full"></a>
            </foreach>
            <div class="b-banner__nav">
                <!-- <div class="b-banner__navItem act"></div> -->
            </div>
        </div>
    </div>

</div>
<div class="b-body l-center l-mgt20">
<div class="b-body__left">
<div class="b-zixun">
    <div class="b-scrollPic">
        <div class="b-scrollPic__main">
            <foreach name="indextjwork" item="vitw">
                <div class="b-scrollPic__item">
                    <a href="__WEBURL__/works/{$vitw.workid}"><img src="__FILESURL__{$vitw.image}"></a>
                </div>
            </foreach>
        </div>
        <div class="b-scrollPic__title">
            <foreach name="indextjwork" item="vitwt">
                <p class="b-scrollPic__titleItem act">{$vitwt.title|str_cut=20}</p>
            </foreach>
            <ul class="b-scrollPic__nav">
                <foreach name="indextjwork" key="k" item="vitwtn">
                    <li class="b-scrollPic__navItem <if condition='$k eq 0'> act </if>">{$k+1}</li>
                </foreach>
            </ul>
        </div>
    </div>
    <div class="b-tips">
        <if condition="$firstnews.linkurl neq ''">
            <a href="{$firstnews.linkurl}" class="b-tips__bigItem">{$firstnews.title|str_cut=25}</a>
        <else/>
            <a href="__WEBURL__/news/{$firstnews.id}.html" class="b-tips__bigItem">{$firstnews.title|str_cut=25}</a>
        </if>
            <div class="b-tips__itemList">
         <foreach name="indextjnews" item="itn">
             <if condition="$itn.linkurl neq ''">
                <a href="{$itn.linkurl}" class="b-tips__item">{$itn.title}</a>
             <else/>
                <a href="__WEBURL__/news/{$itn.id}.html" class="b-tips__item">{$itn.title}</a>
             </if>
         </foreach>
        </div>
    </div>

</div>

<div style="margin-top:20px;font-size:18px;color:#333;font-weight:bold;">每日新秀</div>

<div class="b-lunbo l-mgt20">
    <div class="b-lunbo__panel homecase" id="homecase">
        <ul>
        <foreach name="indexxinxiu" item="ixx">
            <li>
            <div class="b-lunbo__item">
                <a href="__WEBURL__/works/{$ixx.workid}" class="b-lunbo__itemPic"><img data-original="__FILESURL__{$ixx.image}" src="" class="l-full lazy"><i class="b-picMask"></i></a>
                <div class="b-lunbo__itemTitle"><a title="{$ixx.title}" href="__WEBURL__/works/{$ixx.workid}">{$ixx.title|str_cut=10}</a></div>
                <div class="ofh bgc01">
                    <div class="b-lunbo__itemName"><a href="__WEBURL__/u/{$ixx.openuid}">{$ixx.nickname}</a></div>
                    <div class="b-lunbo__itemDo">{$ixx.copynum|getNullNum}做过</div>
                </div>
                <div class="ofh">
                    <div class="b-lunbo__itemNum"><img src="__IMAGES__/icon_lunbo_eye.jpg" class="pic_mid"><span>{$ixx.clicknum}次</span></div>
                    <div class="b-lunbo__itemShare"><i class="b-messageIcon pic_mid"></i>{$ixx.msgnum|getNullNum} 条</div>
                </div>
            </div>
            </li>
        </foreach>
        </ul>
    </div>


</div>
<div class="b-advert l-mgt20"><a href="{$indexleftad.linkurl}" target="_blank"><img src="__FILESURL__{$indexleftad.image}" class="l-full" /></a></div>
    <foreach name="indexcatetj" item="ict">
        <div class="b-quanzi">
        <div class="b-quanzi__top">
            <span class="b-quanzi__name"><a href="__WEBURL__/category/{$ict.cateid}">{$ict.catename}圈</a></span>
            <span class="b-quanzi__time"><img src="__IMAGES__/icon_date.png" class="pic_mid">{$ict.create_time|date='Y年m月d日',###}</span>
            <span class="b-quanzi__user"><a href="__WEBURL__/u/{$ict.openuid}"><img src="{$ict.uavatar|getUavatar}" class="pic_mid">{$ict.nickname}</a></span>
            <span class="b-quanzi__stime">{$ict.create_time|format_time}分享</span>
        </div>
        <a href="__WEBURL__/works/{$ict.workid}" class="b-quanzi__left"><img class="lazy" data-original="__FILESURL__{$ict.image}" src=""><i class="b-picMask"></i></a>
        <div class="b-quanzi__right">
            <div class="b-quanzi__title"><a href="__WEBURL__/works/{$ict.workid}">{$ict.title|str_cut=20}</a></div>
            <div class="b-quanzi__tagList">
                <span class="b-quanzi__tag"><img src="__IMAGES__/icon_quanzi_view.png" class="pic_mid">浏览{$ict.clicknum}次</span>
                <span class="b-quanzi__tag"><i class="b-messageIcon pic_mid"></i>{$ict.msgnum}</span>
                <span class="b-quanzi__tag"><i class="b-dingIcon pic_mid"></i>{$ict.goodnum}</span>
                <span class="b-quanzi__tag"><i class="b-caiIcon pic_mid"></i>{$ict.badnum}</span>
            </div>
            <div class="b-quanzi__content">
               {$ict.content|str_cut=120}
            </div>
        </div>
        </div>
    </foreach>

</div>
<div class="b-body__right">
<div class="b-qrcode">
    <a href="{$rightopad.linkurl}"><img src="__FILESURL__{$rightopad.image}"></a>
</div>
<div class="b-qiandao l-mgt20">
    <div class="b-qiandao__icon">
        <if condition="$mysign gt 0">
            <a href="javascript:void(0);">签到成功</a>
            <else/>
        <a href="javascript:void(0);" class="R_ajax_trip" data-info="userid,{$userinfo.userid}" data-url="do/sign/">今日签到</a>
        </if>
    </div>
    <div class="b-qiandao__info">
        <div class="b-qiandao__renshu">
            <img class="pic_mid" src="__IMAGES__/qiandao_renshu.jpg">
            <span>今天签到:{$signcount}人</span>
        </div>
        <div class="b-qiandao__btn">
            <a href="__WEBURL__/member/rank"><img class="pic_mid" src="__IMAGES__/qiandao_btn.jpg">
                <span>签到看排名</span></a>
        </div>
    </div>
</div>
<div class="b-jifen l-mgt20">
    <div class="b-jifen__title">
        <p>还没签到呢？<b>连续签到最高可获<span>10</span>积分！</b></p>
    </div>
    <a href="http://www.hongbeiq.com/news/6.html" class="b-jifen__btn">我要赚积分</a>
    <a href="__WEBURL__/jifen" class="b-jifen__btn">我要花积分</a>
</div>

<div class="b-sideBox l-mgt20">
    <div class="b-sideBox__title">
        <div class="b-sideBox__name">焙友动态</div>
        <a href="__WEBURL__/member/dynamic" class="b-sideBox__more">更多>></a>
    </div>
    <foreach name="userDynamicData" item="udd">
    <div class="b-beiyouItem">
        <a href="__WEBURL__/u/{$udd.openuid}" class="b-beiyouItem__pic"><img src="{$udd.uavatar|getUavatar}"><i class="b-popOtherZuopin__itemMask"></i></a>
        <a href="__WEBURL__/u/{$udd.openuid}" class="b-beiyouItem__name">{$udd.nickname}</a>
        <div class="b-beiyouItem__info">
            {$udd.content}
        </div>
        <div class="b-beiyouItem__time">{$udd.create_time|format_time}</div>
    </div>
    </foreach>

</div>

<div class="b-sideBox l-mgt20">
    <div class="b-sideBox__title">
        <div class="b-sideBox__name">热门活动</div>
        <a href="__WEBURL__/activity" class="b-sideBox__more">更多>></a>
    </div>
    <foreach name="activitytj" item="at">
        <div class="b-sideBox__pat">
            <div class="b-sideBox__patLeft">
                <img src="__FILESURL__{$at.image}">
            </div>
            <div class="b-sideBox__patRight">
                <div class="b-sideBox__patT1">{$at.title|str_cut=8}</div>
                <div class="b-sideBox__patT2">{$at.summary|str_cut=9}</div>
                <if condition="$at.linkurl neq ''">
                <a href="{$at.linkurl}" class="b-sideBox__patBtn"></a>
                    <else/>
                <a href="__WEBURL__/activity/{$at.id}.html" class="b-sideBox__patBtn"></a>
                </if>
            </div>
        </div>
    </foreach>

    <foreach name="indexrightad" item="ira">
        <div class="b-sideBox__patBanner b-sideBox__patBanner_first">
            <a href="{$ira.linkurl}"  target="_blank"><img src="__FILESURL__{$ira.image}"></a>
        </div>
    </foreach>

</div>

<div class="b-sideBox l-mgt20">
    <div class="b-sideBox__title">
        <div class="b-sideBox__name">分享达人</div>
    </div>
    <foreach name="sharedaren" item="sd">
        <div class="b-darenItem">
            <div class="b-darenItem__pic">
                <a href="__WEBURL__/u/{$sd.openuid}"><img src="{$sd.uavatar|getUavatar}"></a>
            </div>
            <div class="b-darenItem__info">
                <div class="b-darenItem__name"><a href="__WEBURL__/u/{$sd.openuid}">{$sd.nickname}</a></div>
                <div class="b-darenItem__guanzhu"><a href="__WEBURL__/u/{$sd.openuid}/fans">{$sd.fansnum|getNullNum}关注</a></div>
                <div class="b-darenItem__zuopin"><a href="__WEBURL__/u/{$sd.openuid}">{$sd.worksnum|getNullNum}个作品</a></div>
            </div>
            <if condition="$sd.isfans eq true">
                <a class="b-darenItem__btn R_ajax_link" data-info="userid,{$sd.userid}" data-url="do/cancelfans/">取消关注</a>
                <else/>
                <a class="b-darenItem__btn R_ajax_link" data-info="userid,{$sd.userid}" data-url="do/addfans/">关注</a>
            </if>
        </div>
    </foreach>

    <div class="b-sideBox__seeMore">
        <a href="__WEBURL__/member/daren">查看更多</a>
    </div>

</div>

</div>
</div>
<include file="Public:footer" />

</div>

<script src="__JS__/index.js"></script>
<script src="__JS__/jquery.common.js?v=20150101"></script>
<script src="__JS__/jquery.doajax.js"></script>
<script src="__JS__/jquery.marquee.js"></script>
<script type="text/javascript">
    $(function(){
        $("#homecase").marquee({direction: "left",step: 4,pause: 2000,speed:10});
    });
</script>

</body>
</html>